import random

# random.seed() # 传一个固定值，下面的随机值，每次都一样了

print(random.random())

print(random.randint(1,10))

print(random.randrange(1, 10, 2))

print(random.uniform(1, 10))

lst = [i for i in range(1, 10)]

print(random.choice(lst))

random.shuffle(lst)
print(lst)